package com.org.es5.api.entity;

import com.org.es5.support.elasticserach.EsCloumn;
import io.searchbox.annotations.JestId;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class CmsDocument {

    @JestId
    @EsCloumn(name = "document_id")
    private Long documentId;

    @EsCloumn(name = "document_classify")
    private String documentClassify;

    @EsCloumn(name = "document_sub_classify")
    private String documentSubClassify;

    @EsCloumn(name = "document_title")
    private String documentTitle;

    @EsCloumn(name = "is_show_front")
    private Integer isShowFront;

    @EsCloumn(name = "is_select_object")
    private Integer isSelectObject;

    @EsCloumn(name = "area_code_array", array = true, clazz = String.class, showResult = false)
    private String[] areaCodeArray;

    @EsCloumn(name = "cust_type_array", array = true, clazz = String.class)
    private String[] custTypeArray;

    @EsCloumn(name = "update_time", dateformat = "yyyy-MM-dd HH:mm:ss")
    private String updateTime;

    @EsCloumn(name = "update_time_long")
    private Long updateTimeLong;

}
